Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psp 8855 correct lease-specific property attribution when adding from the map. #4202

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

devinleighsmith
Copy link
Collaborator

No description provided.

@devinleighsmith devinleighsmith added the bug Something isn't working label Jul 16, 2024
@devinleighsmith devinleighsmith self-assigned this Jul 16, 2024
if (propertyInfo) {
defaultFormLease.properties = [];
defaultFormLease.properties.push(FormLeaseProperty.fromMapProperty(propertyInfo));
defaultFormLease.regionId = propertyInfo.region ? propertyInfo.region.toString() : '';
}
const apiFormLease = LeaseFormModel.toApi(defaultFormLease);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doing the conversion to an apiFormLease after the properties are added to the defaultFormLease now.

Copy link
Contributor

✅ No secrets were detected in the code.

@asanchezr asanchezr merged commit a2fd11f into bcgov:dev Jul 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants